import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { HeroDetailComponent } from './app.herodetail.component';
import { HerosComponent } from './heroes.component';
import { AppRoutingModule } from './app.routing.module';
import { DashboardComponent } from './dashboard.component';
import { HeroSearchComponent } from './herosearch.component';
import { HeroSearchService } from './herosearch.service';

import { HttpModule } from '@angular/http';

@NgModule({
  declarations: [
    AppComponent,
    HeroDetailComponent,
    HerosComponent,
    DashboardComponent,
    HeroSearchComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    AppRoutingModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
